import { useContext } from 'react';
import { DetailInfoBottomBtnView } from './DetailInfoBottomBtnView';
import { ChangeControllerContext } from '../common/useOAContext';

export const DetailInfoBottomViewOA: React.FC<any> = ({ position, locationProps }) => {
  /** 引入上下文 */
  const { styleFixCls } = useContext(ChangeControllerContext);

  return (
    <div className={`${styleFixCls}infoViewOA-bottomBtnBox`}>
      <DetailInfoBottomBtnView locationProps={locationProps} />
    </div>
  );
};
